package com.ztesoft.web.filecommon.db.arg;

import java.util.*;
import java.math.*;
import org.apache.commons.lang.*;

public class FileScanRuleInstanceArg {
    private String pk_name = "SCAN_RULE_ID";

    private String orderByClause;

    private String groupByClause;

    private String columns;

    private String countsql1;

    private String countsql2;

    private boolean distinct;

    private int rowStart = 0;

    private int rowEnd = 10;

    private List<FileScanRuleInstanceCriteria> oredCriteria;

    public FileScanRuleInstanceArg() {
        oredCriteria = new ArrayList<FileScanRuleInstanceCriteria>();
    }

    public void setPk_name(String pk_name) {
        this.pk_name = StringEscapeUtils.escapeSql(pk_name);
    }

    public String getPk_name() {
        return pk_name;
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = StringEscapeUtils.escapeSql(orderByClause);
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setGroupByClause(String groupByClause) {
        this.groupByClause = StringEscapeUtils.escapeSql(groupByClause);
    }

    public String geGroupByClause() {
        return groupByClause;
    }

    public void setColumns(String columns) {
        this.columns = StringEscapeUtils.escapeSql(columns);
    }

    public String geColumns() {
        return columns;
    }

    public void setCountsql1(String countsql1) {
        this.countsql1 = StringEscapeUtils.escapeSql(countsql1);
    }

    public String geCountsql1() {
        return countsql1;
    }

    public void setCountsql2(String countsql2) {
        this.countsql2 = StringEscapeUtils.escapeSql(countsql2);
    }

    public String geCountsql2() {
        return countsql2;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public void setRowStart(int rowStart) {
        this.rowStart = rowStart;
    }

    public void setRowEnd(int rowEnd) {
        this.rowEnd = rowEnd;
    }

    public int getRowStart() {
        return rowStart;
    }

    public int getRowEnd() {
        return rowEnd;
    }

    public List<FileScanRuleInstanceCriteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(FileScanRuleInstanceCriteria criteria) {
        oredCriteria.add(criteria);
    }

    public FileScanRuleInstanceCriteria or() {
    	FileScanRuleInstanceCriteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public FileScanRuleInstanceCriteria createCriteria() {
    	FileScanRuleInstanceCriteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected FileScanRuleInstanceCriteria createCriteriaInternal() {
    	FileScanRuleInstanceCriteria criteria = new FileScanRuleInstanceCriteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        groupByClause = null;
        columns = null;
        countsql1 = null;
        countsql2 = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<FileScanRuleInstanceCriterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<FileScanRuleInstanceCriterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<FileScanRuleInstanceCriterion> getAllCriteria() {
            return criteria;
        }

        public List<FileScanRuleInstanceCriterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new FileScanRuleInstanceCriterion(condition));
        }

        protected void addCriterion(String condition, Object value,
                String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property
                        + " cannot be null");
            }
            criteria.add(new FileScanRuleInstanceCriterion(condition, value));
        }

        protected void addCriterion(String condition, Object value,
                String property, int likeType) {
            if (value == null) {
                throw new RuntimeException("Value for " + property
                        + " cannot be null");
            }
            criteria.add(new FileScanRuleInstanceCriterion(condition, value, likeType));
        }

        protected void addCriterion(String condition, Object value1,
                Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property
                        + " cannot be null");
            }
            criteria.add(new FileScanRuleInstanceCriterion(condition, value1, value2));
        }

        public FileScanRuleInstanceCriteria andCriterionEqualTo(String criterion) {
            if (StringUtils.isBlank(criterion)) {
                criterion = "1=1";
            }
            addCriterion(criterion);
            return (FileScanRuleInstanceCriteria) this;
        }
        public FileScanRuleInstanceCriteria andScanRuleIdIsNull() {
            addCriterion("SCAN_RULE_ID is null");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andScanRuleIdIsNotNull() {
            addCriterion("SCAN_RULE_ID is not null");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andScanRuleIdEqualTo(Integer value) {
            addCriterion("SCAN_RULE_ID =", value, "SCAN_RULE_ID");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andScanRuleIdNotEqualTo(Integer value) {
            addCriterion("SCAN_RULE_ID <>", value, "SCAN_RULE_ID");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andScanRuleIdGreaterThan(Integer value) {
            addCriterion("SCAN_RULE_ID >", value, "SCAN_RULE_ID");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andScanRuleIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("SCAN_RULE_ID >=", value, "SCAN_RULE_ID");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andScanRuleIdLessThan(Integer value) {
            addCriterion("SCAN_RULE_ID <", value, "SCAN_RULE_ID");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andScanRuleIdLessThanOrEqualTo(Integer value) {
            addCriterion("SCAN_RULE_ID <=", value, "SCAN_RULE_ID");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andScanRuleIdLike(Integer value) {
            addCriterion("SCAN_RULE_ID like ", value, "SCAN_RULE_ID", 1);
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andScanRuleIdNotLike(Integer value) {
            addCriterion("SCAN_RULE_ID  not like ", value, "SCAN_RULE_ID", 1);
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andScanRuleIdLeftLike(Integer value) {
            addCriterion("SCAN_RULE_ID like ", value, "SCAN_RULE_ID", 0);
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andScanRuleIdNotLeftLike(Integer value) {
            addCriterion("SCAN_RULE_ID  not like ", value, "SCAN_RULE_ID", 0);
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andScanRuleIdRightLike(Integer value) {
            addCriterion("SCAN_RULE_ID like ", value, "SCAN_RULE_ID", 2);
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andScanRuleIdNotRightLike(Integer value) {
            addCriterion("SCAN_RULE_ID  not like ", value, "SCAN_RULE_ID", 2);
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andScanRuleIdIn(List<Integer> values) {
            addCriterion("SCAN_RULE_ID  in ", values, "SCAN_RULE_ID");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andScanRuleIdNotIn(List<Integer> values) {
            addCriterion("SCAN_RULE_ID not in ", values, "SCAN_RULE_ID");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andScanRuleIdBetween(Integer value1, Integer value2) {
            addCriterion("SCAN_RULE_ID between ", value1, value2, "SCAN_RULE_ID");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andScanRuleIdNotBetween(Integer value1, Integer value2) {
            addCriterion("SCAN_RULE_ID not between ", value1, value2, "SCAN_RULE_ID");
            return (FileScanRuleInstanceCriteria) this;
        }
        public FileScanRuleInstanceCriteria andSourceDataIdIsNull() {
            addCriterion("SOURCE_DATA_ID is null");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andSourceDataIdIsNotNull() {
            addCriterion("SOURCE_DATA_ID is not null");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andSourceDataIdEqualTo(Integer value) {
            addCriterion("SOURCE_DATA_ID =", value, "SOURCE_DATA_ID");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andSourceDataIdNotEqualTo(Integer value) {
            addCriterion("SOURCE_DATA_ID <>", value, "SOURCE_DATA_ID");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andSourceDataIdGreaterThan(Integer value) {
            addCriterion("SOURCE_DATA_ID >", value, "SOURCE_DATA_ID");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andSourceDataIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("SOURCE_DATA_ID >=", value, "SOURCE_DATA_ID");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andSourceDataIdLessThan(Integer value) {
            addCriterion("SOURCE_DATA_ID <", value, "SOURCE_DATA_ID");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andSourceDataIdLessThanOrEqualTo(Integer value) {
            addCriterion("SOURCE_DATA_ID <=", value, "SOURCE_DATA_ID");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andSourceDataIdLike(Integer value) {
            addCriterion("SOURCE_DATA_ID like ", value, "SOURCE_DATA_ID", 1);
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andSourceDataIdNotLike(Integer value) {
            addCriterion("SOURCE_DATA_ID  not like ", value, "SOURCE_DATA_ID", 1);
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andSourceDataIdLeftLike(Integer value) {
            addCriterion("SOURCE_DATA_ID like ", value, "SOURCE_DATA_ID", 0);
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andSourceDataIdNotLeftLike(Integer value) {
            addCriterion("SOURCE_DATA_ID  not like ", value, "SOURCE_DATA_ID", 0);
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andSourceDataIdRightLike(Integer value) {
            addCriterion("SOURCE_DATA_ID like ", value, "SOURCE_DATA_ID", 2);
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andSourceDataIdNotRightLike(Integer value) {
            addCriterion("SOURCE_DATA_ID  not like ", value, "SOURCE_DATA_ID", 2);
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andSourceDataIdIn(List<Integer> values) {
            addCriterion("SOURCE_DATA_ID  in ", values, "SOURCE_DATA_ID");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andSourceDataIdNotIn(List<Integer> values) {
            addCriterion("SOURCE_DATA_ID not in ", values, "SOURCE_DATA_ID");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andSourceDataIdBetween(Integer value1, Integer value2) {
            addCriterion("SOURCE_DATA_ID between ", value1, value2, "SOURCE_DATA_ID");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andSourceDataIdNotBetween(Integer value1, Integer value2) {
            addCriterion("SOURCE_DATA_ID not between ", value1, value2, "SOURCE_DATA_ID");
            return (FileScanRuleInstanceCriteria) this;
        }
        public FileScanRuleInstanceCriteria andDirOrderIsNull() {
            addCriterion("DIR_ORDER is null");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andDirOrderIsNotNull() {
            addCriterion("DIR_ORDER is not null");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andDirOrderEqualTo(Integer value) {
            addCriterion("DIR_ORDER =", value, "DIR_ORDER");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andDirOrderNotEqualTo(Integer value) {
            addCriterion("DIR_ORDER <>", value, "DIR_ORDER");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andDirOrderGreaterThan(Integer value) {
            addCriterion("DIR_ORDER >", value, "DIR_ORDER");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andDirOrderGreaterThanOrEqualTo(Integer value) {
            addCriterion("DIR_ORDER >=", value, "DIR_ORDER");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andDirOrderLessThan(Integer value) {
            addCriterion("DIR_ORDER <", value, "DIR_ORDER");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andDirOrderLessThanOrEqualTo(Integer value) {
            addCriterion("DIR_ORDER <=", value, "DIR_ORDER");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andDirOrderLike(Integer value) {
            addCriterion("DIR_ORDER like ", value, "DIR_ORDER", 1);
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andDirOrderNotLike(Integer value) {
            addCriterion("DIR_ORDER  not like ", value, "DIR_ORDER", 1);
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andDirOrderLeftLike(Integer value) {
            addCriterion("DIR_ORDER like ", value, "DIR_ORDER", 0);
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andDirOrderNotLeftLike(Integer value) {
            addCriterion("DIR_ORDER  not like ", value, "DIR_ORDER", 0);
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andDirOrderRightLike(Integer value) {
            addCriterion("DIR_ORDER like ", value, "DIR_ORDER", 2);
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andDirOrderNotRightLike(Integer value) {
            addCriterion("DIR_ORDER  not like ", value, "DIR_ORDER", 2);
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andDirOrderIn(List<Integer> values) {
            addCriterion("DIR_ORDER  in ", values, "DIR_ORDER");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andDirOrderNotIn(List<Integer> values) {
            addCriterion("DIR_ORDER not in ", values, "DIR_ORDER");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andDirOrderBetween(Integer value1, Integer value2) {
            addCriterion("DIR_ORDER between ", value1, value2, "DIR_ORDER");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andDirOrderNotBetween(Integer value1, Integer value2) {
            addCriterion("DIR_ORDER not between ", value1, value2, "DIR_ORDER");
            return (FileScanRuleInstanceCriteria) this;
        }
        public FileScanRuleInstanceCriteria andScanRangeIsNull() {
            addCriterion("SCAN_RANGE is null");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andScanRangeIsNotNull() {
            addCriterion("SCAN_RANGE is not null");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andScanRangeEqualTo(Integer value) {
            addCriterion("SCAN_RANGE =", value, "SCAN_RANGE");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andScanRangeNotEqualTo(Integer value) {
            addCriterion("SCAN_RANGE <>", value, "SCAN_RANGE");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andScanRangeGreaterThan(Integer value) {
            addCriterion("SCAN_RANGE >", value, "SCAN_RANGE");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andScanRangeGreaterThanOrEqualTo(Integer value) {
            addCriterion("SCAN_RANGE >=", value, "SCAN_RANGE");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andScanRangeLessThan(Integer value) {
            addCriterion("SCAN_RANGE <", value, "SCAN_RANGE");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andScanRangeLessThanOrEqualTo(Integer value) {
            addCriterion("SCAN_RANGE <=", value, "SCAN_RANGE");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andScanRangeLike(Integer value) {
            addCriterion("SCAN_RANGE like ", value, "SCAN_RANGE", 1);
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andScanRangeNotLike(Integer value) {
            addCriterion("SCAN_RANGE  not like ", value, "SCAN_RANGE", 1);
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andScanRangeLeftLike(Integer value) {
            addCriterion("SCAN_RANGE like ", value, "SCAN_RANGE", 0);
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andScanRangeNotLeftLike(Integer value) {
            addCriterion("SCAN_RANGE  not like ", value, "SCAN_RANGE", 0);
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andScanRangeRightLike(Integer value) {
            addCriterion("SCAN_RANGE like ", value, "SCAN_RANGE", 2);
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andScanRangeNotRightLike(Integer value) {
            addCriterion("SCAN_RANGE  not like ", value, "SCAN_RANGE", 2);
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andScanRangeIn(List<Integer> values) {
            addCriterion("SCAN_RANGE  in ", values, "SCAN_RANGE");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andScanRangeNotIn(List<Integer> values) {
            addCriterion("SCAN_RANGE not in ", values, "SCAN_RANGE");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andScanRangeBetween(Integer value1, Integer value2) {
            addCriterion("SCAN_RANGE between ", value1, value2, "SCAN_RANGE");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andScanRangeNotBetween(Integer value1, Integer value2) {
            addCriterion("SCAN_RANGE not between ", value1, value2, "SCAN_RANGE");
            return (FileScanRuleInstanceCriteria) this;
        }
        public FileScanRuleInstanceCriteria andFileTypeIsNull() {
            addCriterion("FILE_TYPE is null");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andFileTypeIsNotNull() {
            addCriterion("FILE_TYPE is not null");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andFileTypeEqualTo(String value) {
            addCriterion("FILE_TYPE =", value, "FILE_TYPE");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andFileTypeNotEqualTo(String value) {
            addCriterion("FILE_TYPE <>", value, "FILE_TYPE");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andFileTypeGreaterThan(String value) {
            addCriterion("FILE_TYPE >", value, "FILE_TYPE");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andFileTypeGreaterThanOrEqualTo(String value) {
            addCriterion("FILE_TYPE >=", value, "FILE_TYPE");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andFileTypeLessThan(String value) {
            addCriterion("FILE_TYPE <", value, "FILE_TYPE");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andFileTypeLessThanOrEqualTo(String value) {
            addCriterion("FILE_TYPE <=", value, "FILE_TYPE");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andFileTypeLike(String value) {
            addCriterion("FILE_TYPE like ", value, "FILE_TYPE", 1);
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andFileTypeNotLike(String value) {
            addCriterion("FILE_TYPE  not like ", value, "FILE_TYPE", 1);
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andFileTypeLeftLike(String value) {
            addCriterion("FILE_TYPE like ", value, "FILE_TYPE", 0);
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andFileTypeNotLeftLike(String value) {
            addCriterion("FILE_TYPE  not like ", value, "FILE_TYPE", 0);
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andFileTypeRightLike(String value) {
            addCriterion("FILE_TYPE like ", value, "FILE_TYPE", 2);
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andFileTypeNotRightLike(String value) {
            addCriterion("FILE_TYPE  not like ", value, "FILE_TYPE", 2);
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andFileTypeIn(List<String> values) {
            addCriterion("FILE_TYPE  in ", values, "FILE_TYPE");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andFileTypeNotIn(List<String> values) {
            addCriterion("FILE_TYPE not in ", values, "FILE_TYPE");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andFileTypeBetween(String value1, String value2) {
            addCriterion("FILE_TYPE between ", value1, value2, "FILE_TYPE");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andFileTypeNotBetween(String value1, String value2) {
            addCriterion("FILE_TYPE not between ", value1, value2, "FILE_TYPE");
            return (FileScanRuleInstanceCriteria) this;
        }
        public FileScanRuleInstanceCriteria andFilenameScanXpathIsNull() {
            addCriterion("FILENAME_SCAN_XPATH is null");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andFilenameScanXpathIsNotNull() {
            addCriterion("FILENAME_SCAN_XPATH is not null");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andFilenameScanXpathEqualTo(String value) {
            addCriterion("FILENAME_SCAN_XPATH =", value, "FILENAME_SCAN_XPATH");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andFilenameScanXpathNotEqualTo(String value) {
            addCriterion("FILENAME_SCAN_XPATH <>", value, "FILENAME_SCAN_XPATH");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andFilenameScanXpathGreaterThan(String value) {
            addCriterion("FILENAME_SCAN_XPATH >", value, "FILENAME_SCAN_XPATH");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andFilenameScanXpathGreaterThanOrEqualTo(String value) {
            addCriterion("FILENAME_SCAN_XPATH >=", value, "FILENAME_SCAN_XPATH");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andFilenameScanXpathLessThan(String value) {
            addCriterion("FILENAME_SCAN_XPATH <", value, "FILENAME_SCAN_XPATH");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andFilenameScanXpathLessThanOrEqualTo(String value) {
            addCriterion("FILENAME_SCAN_XPATH <=", value, "FILENAME_SCAN_XPATH");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andFilenameScanXpathLike(String value) {
            addCriterion("FILENAME_SCAN_XPATH like ", value, "FILENAME_SCAN_XPATH", 1);
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andFilenameScanXpathNotLike(String value) {
            addCriterion("FILENAME_SCAN_XPATH  not like ", value, "FILENAME_SCAN_XPATH", 1);
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andFilenameScanXpathLeftLike(String value) {
            addCriterion("FILENAME_SCAN_XPATH like ", value, "FILENAME_SCAN_XPATH", 0);
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andFilenameScanXpathNotLeftLike(String value) {
            addCriterion("FILENAME_SCAN_XPATH  not like ", value, "FILENAME_SCAN_XPATH", 0);
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andFilenameScanXpathRightLike(String value) {
            addCriterion("FILENAME_SCAN_XPATH like ", value, "FILENAME_SCAN_XPATH", 2);
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andFilenameScanXpathNotRightLike(String value) {
            addCriterion("FILENAME_SCAN_XPATH  not like ", value, "FILENAME_SCAN_XPATH", 2);
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andFilenameScanXpathIn(List<String> values) {
            addCriterion("FILENAME_SCAN_XPATH  in ", values, "FILENAME_SCAN_XPATH");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andFilenameScanXpathNotIn(List<String> values) {
            addCriterion("FILENAME_SCAN_XPATH not in ", values, "FILENAME_SCAN_XPATH");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andFilenameScanXpathBetween(String value1, String value2) {
            addCriterion("FILENAME_SCAN_XPATH between ", value1, value2, "FILENAME_SCAN_XPATH");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andFilenameScanXpathNotBetween(String value1, String value2) {
            addCriterion("FILENAME_SCAN_XPATH not between ", value1, value2, "FILENAME_SCAN_XPATH");
            return (FileScanRuleInstanceCriteria) this;
        }
        public FileScanRuleInstanceCriteria andScanTimeTypeIsNull() {
            addCriterion("SCAN_TIME_TYPE is null");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andScanTimeTypeIsNotNull() {
            addCriterion("SCAN_TIME_TYPE is not null");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andScanTimeTypeEqualTo(String value) {
            addCriterion("SCAN_TIME_TYPE =", value, "SCAN_TIME_TYPE");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andScanTimeTypeNotEqualTo(String value) {
            addCriterion("SCAN_TIME_TYPE <>", value, "SCAN_TIME_TYPE");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andScanTimeTypeGreaterThan(String value) {
            addCriterion("SCAN_TIME_TYPE >", value, "SCAN_TIME_TYPE");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andScanTimeTypeGreaterThanOrEqualTo(String value) {
            addCriterion("SCAN_TIME_TYPE >=", value, "SCAN_TIME_TYPE");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andScanTimeTypeLessThan(String value) {
            addCriterion("SCAN_TIME_TYPE <", value, "SCAN_TIME_TYPE");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andScanTimeTypeLessThanOrEqualTo(String value) {
            addCriterion("SCAN_TIME_TYPE <=", value, "SCAN_TIME_TYPE");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andScanTimeTypeLike(String value) {
            addCriterion("SCAN_TIME_TYPE like ", value, "SCAN_TIME_TYPE", 1);
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andScanTimeTypeNotLike(String value) {
            addCriterion("SCAN_TIME_TYPE  not like ", value, "SCAN_TIME_TYPE", 1);
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andScanTimeTypeLeftLike(String value) {
            addCriterion("SCAN_TIME_TYPE like ", value, "SCAN_TIME_TYPE", 0);
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andScanTimeTypeNotLeftLike(String value) {
            addCriterion("SCAN_TIME_TYPE  not like ", value, "SCAN_TIME_TYPE", 0);
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andScanTimeTypeRightLike(String value) {
            addCriterion("SCAN_TIME_TYPE like ", value, "SCAN_TIME_TYPE", 2);
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andScanTimeTypeNotRightLike(String value) {
            addCriterion("SCAN_TIME_TYPE  not like ", value, "SCAN_TIME_TYPE", 2);
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andScanTimeTypeIn(List<String> values) {
            addCriterion("SCAN_TIME_TYPE  in ", values, "SCAN_TIME_TYPE");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andScanTimeTypeNotIn(List<String> values) {
            addCriterion("SCAN_TIME_TYPE not in ", values, "SCAN_TIME_TYPE");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andScanTimeTypeBetween(String value1, String value2) {
            addCriterion("SCAN_TIME_TYPE between ", value1, value2, "SCAN_TIME_TYPE");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andScanTimeTypeNotBetween(String value1, String value2) {
            addCriterion("SCAN_TIME_TYPE not between ", value1, value2, "SCAN_TIME_TYPE");
            return (FileScanRuleInstanceCriteria) this;
        }
        public FileScanRuleInstanceCriteria andScanTimeSectionIsNull() {
            addCriterion("SCAN_TIME_SECTION is null");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andScanTimeSectionIsNotNull() {
            addCriterion("SCAN_TIME_SECTION is not null");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andScanTimeSectionEqualTo(String value) {
            addCriterion("SCAN_TIME_SECTION =", value, "SCAN_TIME_SECTION");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andScanTimeSectionNotEqualTo(String value) {
            addCriterion("SCAN_TIME_SECTION <>", value, "SCAN_TIME_SECTION");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andScanTimeSectionGreaterThan(String value) {
            addCriterion("SCAN_TIME_SECTION >", value, "SCAN_TIME_SECTION");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andScanTimeSectionGreaterThanOrEqualTo(String value) {
            addCriterion("SCAN_TIME_SECTION >=", value, "SCAN_TIME_SECTION");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andScanTimeSectionLessThan(String value) {
            addCriterion("SCAN_TIME_SECTION <", value, "SCAN_TIME_SECTION");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andScanTimeSectionLessThanOrEqualTo(String value) {
            addCriterion("SCAN_TIME_SECTION <=", value, "SCAN_TIME_SECTION");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andScanTimeSectionLike(String value) {
            addCriterion("SCAN_TIME_SECTION like ", value, "SCAN_TIME_SECTION", 1);
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andScanTimeSectionNotLike(String value) {
            addCriterion("SCAN_TIME_SECTION  not like ", value, "SCAN_TIME_SECTION", 1);
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andScanTimeSectionLeftLike(String value) {
            addCriterion("SCAN_TIME_SECTION like ", value, "SCAN_TIME_SECTION", 0);
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andScanTimeSectionNotLeftLike(String value) {
            addCriterion("SCAN_TIME_SECTION  not like ", value, "SCAN_TIME_SECTION", 0);
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andScanTimeSectionRightLike(String value) {
            addCriterion("SCAN_TIME_SECTION like ", value, "SCAN_TIME_SECTION", 2);
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andScanTimeSectionNotRightLike(String value) {
            addCriterion("SCAN_TIME_SECTION  not like ", value, "SCAN_TIME_SECTION", 2);
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andScanTimeSectionIn(List<String> values) {
            addCriterion("SCAN_TIME_SECTION  in ", values, "SCAN_TIME_SECTION");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andScanTimeSectionNotIn(List<String> values) {
            addCriterion("SCAN_TIME_SECTION not in ", values, "SCAN_TIME_SECTION");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andScanTimeSectionBetween(String value1, String value2) {
            addCriterion("SCAN_TIME_SECTION between ", value1, value2, "SCAN_TIME_SECTION");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andScanTimeSectionNotBetween(String value1, String value2) {
            addCriterion("SCAN_TIME_SECTION not between ", value1, value2, "SCAN_TIME_SECTION");
            return (FileScanRuleInstanceCriteria) this;
        }
        public FileScanRuleInstanceCriteria andScanTimeShiftMinIsNull() {
            addCriterion("SCAN_TIME_SHIFT_MIN is null");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andScanTimeShiftMinIsNotNull() {
            addCriterion("SCAN_TIME_SHIFT_MIN is not null");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andScanTimeShiftMinEqualTo(Integer value) {
            addCriterion("SCAN_TIME_SHIFT_MIN =", value, "SCAN_TIME_SHIFT_MIN");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andScanTimeShiftMinNotEqualTo(Integer value) {
            addCriterion("SCAN_TIME_SHIFT_MIN <>", value, "SCAN_TIME_SHIFT_MIN");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andScanTimeShiftMinGreaterThan(Integer value) {
            addCriterion("SCAN_TIME_SHIFT_MIN >", value, "SCAN_TIME_SHIFT_MIN");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andScanTimeShiftMinGreaterThanOrEqualTo(Integer value) {
            addCriterion("SCAN_TIME_SHIFT_MIN >=", value, "SCAN_TIME_SHIFT_MIN");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andScanTimeShiftMinLessThan(Integer value) {
            addCriterion("SCAN_TIME_SHIFT_MIN <", value, "SCAN_TIME_SHIFT_MIN");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andScanTimeShiftMinLessThanOrEqualTo(Integer value) {
            addCriterion("SCAN_TIME_SHIFT_MIN <=", value, "SCAN_TIME_SHIFT_MIN");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andScanTimeShiftMinLike(Integer value) {
            addCriterion("SCAN_TIME_SHIFT_MIN like ", value, "SCAN_TIME_SHIFT_MIN", 1);
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andScanTimeShiftMinNotLike(Integer value) {
            addCriterion("SCAN_TIME_SHIFT_MIN  not like ", value, "SCAN_TIME_SHIFT_MIN", 1);
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andScanTimeShiftMinLeftLike(Integer value) {
            addCriterion("SCAN_TIME_SHIFT_MIN like ", value, "SCAN_TIME_SHIFT_MIN", 0);
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andScanTimeShiftMinNotLeftLike(Integer value) {
            addCriterion("SCAN_TIME_SHIFT_MIN  not like ", value, "SCAN_TIME_SHIFT_MIN", 0);
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andScanTimeShiftMinRightLike(Integer value) {
            addCriterion("SCAN_TIME_SHIFT_MIN like ", value, "SCAN_TIME_SHIFT_MIN", 2);
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andScanTimeShiftMinNotRightLike(Integer value) {
            addCriterion("SCAN_TIME_SHIFT_MIN  not like ", value, "SCAN_TIME_SHIFT_MIN", 2);
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andScanTimeShiftMinIn(List<Integer> values) {
            addCriterion("SCAN_TIME_SHIFT_MIN  in ", values, "SCAN_TIME_SHIFT_MIN");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andScanTimeShiftMinNotIn(List<Integer> values) {
            addCriterion("SCAN_TIME_SHIFT_MIN not in ", values, "SCAN_TIME_SHIFT_MIN");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andScanTimeShiftMinBetween(Integer value1, Integer value2) {
            addCriterion("SCAN_TIME_SHIFT_MIN between ", value1, value2, "SCAN_TIME_SHIFT_MIN");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andScanTimeShiftMinNotBetween(Integer value1, Integer value2) {
            addCriterion("SCAN_TIME_SHIFT_MIN not between ", value1, value2, "SCAN_TIME_SHIFT_MIN");
            return (FileScanRuleInstanceCriteria) this;
        }
        public FileScanRuleInstanceCriteria andScanTimeShiftMaxIsNull() {
            addCriterion("SCAN_TIME_SHIFT_MAX is null");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andScanTimeShiftMaxIsNotNull() {
            addCriterion("SCAN_TIME_SHIFT_MAX is not null");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andScanTimeShiftMaxEqualTo(Integer value) {
            addCriterion("SCAN_TIME_SHIFT_MAX =", value, "SCAN_TIME_SHIFT_MAX");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andScanTimeShiftMaxNotEqualTo(Integer value) {
            addCriterion("SCAN_TIME_SHIFT_MAX <>", value, "SCAN_TIME_SHIFT_MAX");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andScanTimeShiftMaxGreaterThan(Integer value) {
            addCriterion("SCAN_TIME_SHIFT_MAX >", value, "SCAN_TIME_SHIFT_MAX");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andScanTimeShiftMaxGreaterThanOrEqualTo(Integer value) {
            addCriterion("SCAN_TIME_SHIFT_MAX >=", value, "SCAN_TIME_SHIFT_MAX");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andScanTimeShiftMaxLessThan(Integer value) {
            addCriterion("SCAN_TIME_SHIFT_MAX <", value, "SCAN_TIME_SHIFT_MAX");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andScanTimeShiftMaxLessThanOrEqualTo(Integer value) {
            addCriterion("SCAN_TIME_SHIFT_MAX <=", value, "SCAN_TIME_SHIFT_MAX");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andScanTimeShiftMaxLike(Integer value) {
            addCriterion("SCAN_TIME_SHIFT_MAX like ", value, "SCAN_TIME_SHIFT_MAX", 1);
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andScanTimeShiftMaxNotLike(Integer value) {
            addCriterion("SCAN_TIME_SHIFT_MAX  not like ", value, "SCAN_TIME_SHIFT_MAX", 1);
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andScanTimeShiftMaxLeftLike(Integer value) {
            addCriterion("SCAN_TIME_SHIFT_MAX like ", value, "SCAN_TIME_SHIFT_MAX", 0);
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andScanTimeShiftMaxNotLeftLike(Integer value) {
            addCriterion("SCAN_TIME_SHIFT_MAX  not like ", value, "SCAN_TIME_SHIFT_MAX", 0);
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andScanTimeShiftMaxRightLike(Integer value) {
            addCriterion("SCAN_TIME_SHIFT_MAX like ", value, "SCAN_TIME_SHIFT_MAX", 2);
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andScanTimeShiftMaxNotRightLike(Integer value) {
            addCriterion("SCAN_TIME_SHIFT_MAX  not like ", value, "SCAN_TIME_SHIFT_MAX", 2);
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andScanTimeShiftMaxIn(List<Integer> values) {
            addCriterion("SCAN_TIME_SHIFT_MAX  in ", values, "SCAN_TIME_SHIFT_MAX");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andScanTimeShiftMaxNotIn(List<Integer> values) {
            addCriterion("SCAN_TIME_SHIFT_MAX not in ", values, "SCAN_TIME_SHIFT_MAX");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andScanTimeShiftMaxBetween(Integer value1, Integer value2) {
            addCriterion("SCAN_TIME_SHIFT_MAX between ", value1, value2, "SCAN_TIME_SHIFT_MAX");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andScanTimeShiftMaxNotBetween(Integer value1, Integer value2) {
            addCriterion("SCAN_TIME_SHIFT_MAX not between ", value1, value2, "SCAN_TIME_SHIFT_MAX");
            return (FileScanRuleInstanceCriteria) this;
        }
        public FileScanRuleInstanceCriteria andScanStatementsIsNull() {
            addCriterion("SCAN_STATEMENTS is null");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andScanStatementsIsNotNull() {
            addCriterion("SCAN_STATEMENTS is not null");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andScanStatementsEqualTo(String value) {
            addCriterion("SCAN_STATEMENTS =", value, "SCAN_STATEMENTS");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andScanStatementsNotEqualTo(String value) {
            addCriterion("SCAN_STATEMENTS <>", value, "SCAN_STATEMENTS");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andScanStatementsGreaterThan(String value) {
            addCriterion("SCAN_STATEMENTS >", value, "SCAN_STATEMENTS");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andScanStatementsGreaterThanOrEqualTo(String value) {
            addCriterion("SCAN_STATEMENTS >=", value, "SCAN_STATEMENTS");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andScanStatementsLessThan(String value) {
            addCriterion("SCAN_STATEMENTS <", value, "SCAN_STATEMENTS");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andScanStatementsLessThanOrEqualTo(String value) {
            addCriterion("SCAN_STATEMENTS <=", value, "SCAN_STATEMENTS");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andScanStatementsLike(String value) {
            addCriterion("SCAN_STATEMENTS like ", value, "SCAN_STATEMENTS", 1);
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andScanStatementsNotLike(String value) {
            addCriterion("SCAN_STATEMENTS  not like ", value, "SCAN_STATEMENTS", 1);
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andScanStatementsLeftLike(String value) {
            addCriterion("SCAN_STATEMENTS like ", value, "SCAN_STATEMENTS", 0);
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andScanStatementsNotLeftLike(String value) {
            addCriterion("SCAN_STATEMENTS  not like ", value, "SCAN_STATEMENTS", 0);
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andScanStatementsRightLike(String value) {
            addCriterion("SCAN_STATEMENTS like ", value, "SCAN_STATEMENTS", 2);
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andScanStatementsNotRightLike(String value) {
            addCriterion("SCAN_STATEMENTS  not like ", value, "SCAN_STATEMENTS", 2);
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andScanStatementsIn(List<String> values) {
            addCriterion("SCAN_STATEMENTS  in ", values, "SCAN_STATEMENTS");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andScanStatementsNotIn(List<String> values) {
            addCriterion("SCAN_STATEMENTS not in ", values, "SCAN_STATEMENTS");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andScanStatementsBetween(String value1, String value2) {
            addCriterion("SCAN_STATEMENTS between ", value1, value2, "SCAN_STATEMENTS");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andScanStatementsNotBetween(String value1, String value2) {
            addCriterion("SCAN_STATEMENTS not between ", value1, value2, "SCAN_STATEMENTS");
            return (FileScanRuleInstanceCriteria) this;
        }
        public FileScanRuleInstanceCriteria andFilesizeMinIsNull() {
            addCriterion("FILESIZE_MIN is null");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andFilesizeMinIsNotNull() {
            addCriterion("FILESIZE_MIN is not null");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andFilesizeMinEqualTo(Integer value) {
            addCriterion("FILESIZE_MIN =", value, "FILESIZE_MIN");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andFilesizeMinNotEqualTo(Integer value) {
            addCriterion("FILESIZE_MIN <>", value, "FILESIZE_MIN");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andFilesizeMinGreaterThan(Integer value) {
            addCriterion("FILESIZE_MIN >", value, "FILESIZE_MIN");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andFilesizeMinGreaterThanOrEqualTo(Integer value) {
            addCriterion("FILESIZE_MIN >=", value, "FILESIZE_MIN");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andFilesizeMinLessThan(Integer value) {
            addCriterion("FILESIZE_MIN <", value, "FILESIZE_MIN");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andFilesizeMinLessThanOrEqualTo(Integer value) {
            addCriterion("FILESIZE_MIN <=", value, "FILESIZE_MIN");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andFilesizeMinLike(Integer value) {
            addCriterion("FILESIZE_MIN like ", value, "FILESIZE_MIN", 1);
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andFilesizeMinNotLike(Integer value) {
            addCriterion("FILESIZE_MIN  not like ", value, "FILESIZE_MIN", 1);
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andFilesizeMinLeftLike(Integer value) {
            addCriterion("FILESIZE_MIN like ", value, "FILESIZE_MIN", 0);
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andFilesizeMinNotLeftLike(Integer value) {
            addCriterion("FILESIZE_MIN  not like ", value, "FILESIZE_MIN", 0);
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andFilesizeMinRightLike(Integer value) {
            addCriterion("FILESIZE_MIN like ", value, "FILESIZE_MIN", 2);
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andFilesizeMinNotRightLike(Integer value) {
            addCriterion("FILESIZE_MIN  not like ", value, "FILESIZE_MIN", 2);
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andFilesizeMinIn(List<Integer> values) {
            addCriterion("FILESIZE_MIN  in ", values, "FILESIZE_MIN");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andFilesizeMinNotIn(List<Integer> values) {
            addCriterion("FILESIZE_MIN not in ", values, "FILESIZE_MIN");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andFilesizeMinBetween(Integer value1, Integer value2) {
            addCriterion("FILESIZE_MIN between ", value1, value2, "FILESIZE_MIN");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andFilesizeMinNotBetween(Integer value1, Integer value2) {
            addCriterion("FILESIZE_MIN not between ", value1, value2, "FILESIZE_MIN");
            return (FileScanRuleInstanceCriteria) this;
        }
        public FileScanRuleInstanceCriteria andFilesizeMaxIsNull() {
            addCriterion("FILESIZE_MAX is null");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andFilesizeMaxIsNotNull() {
            addCriterion("FILESIZE_MAX is not null");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andFilesizeMaxEqualTo(Integer value) {
            addCriterion("FILESIZE_MAX =", value, "FILESIZE_MAX");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andFilesizeMaxNotEqualTo(Integer value) {
            addCriterion("FILESIZE_MAX <>", value, "FILESIZE_MAX");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andFilesizeMaxGreaterThan(Integer value) {
            addCriterion("FILESIZE_MAX >", value, "FILESIZE_MAX");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andFilesizeMaxGreaterThanOrEqualTo(Integer value) {
            addCriterion("FILESIZE_MAX >=", value, "FILESIZE_MAX");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andFilesizeMaxLessThan(Integer value) {
            addCriterion("FILESIZE_MAX <", value, "FILESIZE_MAX");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andFilesizeMaxLessThanOrEqualTo(Integer value) {
            addCriterion("FILESIZE_MAX <=", value, "FILESIZE_MAX");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andFilesizeMaxLike(Integer value) {
            addCriterion("FILESIZE_MAX like ", value, "FILESIZE_MAX", 1);
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andFilesizeMaxNotLike(Integer value) {
            addCriterion("FILESIZE_MAX  not like ", value, "FILESIZE_MAX", 1);
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andFilesizeMaxLeftLike(Integer value) {
            addCriterion("FILESIZE_MAX like ", value, "FILESIZE_MAX", 0);
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andFilesizeMaxNotLeftLike(Integer value) {
            addCriterion("FILESIZE_MAX  not like ", value, "FILESIZE_MAX", 0);
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andFilesizeMaxRightLike(Integer value) {
            addCriterion("FILESIZE_MAX like ", value, "FILESIZE_MAX", 2);
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andFilesizeMaxNotRightLike(Integer value) {
            addCriterion("FILESIZE_MAX  not like ", value, "FILESIZE_MAX", 2);
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andFilesizeMaxIn(List<Integer> values) {
            addCriterion("FILESIZE_MAX  in ", values, "FILESIZE_MAX");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andFilesizeMaxNotIn(List<Integer> values) {
            addCriterion("FILESIZE_MAX not in ", values, "FILESIZE_MAX");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andFilesizeMaxBetween(Integer value1, Integer value2) {
            addCriterion("FILESIZE_MAX between ", value1, value2, "FILESIZE_MAX");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andFilesizeMaxNotBetween(Integer value1, Integer value2) {
            addCriterion("FILESIZE_MAX not between ", value1, value2, "FILESIZE_MAX");
            return (FileScanRuleInstanceCriteria) this;
        }
        public FileScanRuleInstanceCriteria andSourceFileZipSwitchIsNull() {
            addCriterion("SOURCE_FILE_ZIP_SWITCH is null");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andSourceFileZipSwitchIsNotNull() {
            addCriterion("SOURCE_FILE_ZIP_SWITCH is not null");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andSourceFileZipSwitchEqualTo(Integer value) {
            addCriterion("SOURCE_FILE_ZIP_SWITCH =", value, "SOURCE_FILE_ZIP_SWITCH");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andSourceFileZipSwitchNotEqualTo(Integer value) {
            addCriterion("SOURCE_FILE_ZIP_SWITCH <>", value, "SOURCE_FILE_ZIP_SWITCH");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andSourceFileZipSwitchGreaterThan(Integer value) {
            addCriterion("SOURCE_FILE_ZIP_SWITCH >", value, "SOURCE_FILE_ZIP_SWITCH");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andSourceFileZipSwitchGreaterThanOrEqualTo(Integer value) {
            addCriterion("SOURCE_FILE_ZIP_SWITCH >=", value, "SOURCE_FILE_ZIP_SWITCH");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andSourceFileZipSwitchLessThan(Integer value) {
            addCriterion("SOURCE_FILE_ZIP_SWITCH <", value, "SOURCE_FILE_ZIP_SWITCH");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andSourceFileZipSwitchLessThanOrEqualTo(Integer value) {
            addCriterion("SOURCE_FILE_ZIP_SWITCH <=", value, "SOURCE_FILE_ZIP_SWITCH");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andSourceFileZipSwitchLike(Integer value) {
            addCriterion("SOURCE_FILE_ZIP_SWITCH like ", value, "SOURCE_FILE_ZIP_SWITCH", 1);
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andSourceFileZipSwitchNotLike(Integer value) {
            addCriterion("SOURCE_FILE_ZIP_SWITCH  not like ", value, "SOURCE_FILE_ZIP_SWITCH", 1);
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andSourceFileZipSwitchLeftLike(Integer value) {
            addCriterion("SOURCE_FILE_ZIP_SWITCH like ", value, "SOURCE_FILE_ZIP_SWITCH", 0);
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andSourceFileZipSwitchNotLeftLike(Integer value) {
            addCriterion("SOURCE_FILE_ZIP_SWITCH  not like ", value, "SOURCE_FILE_ZIP_SWITCH", 0);
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andSourceFileZipSwitchRightLike(Integer value) {
            addCriterion("SOURCE_FILE_ZIP_SWITCH like ", value, "SOURCE_FILE_ZIP_SWITCH", 2);
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andSourceFileZipSwitchNotRightLike(Integer value) {
            addCriterion("SOURCE_FILE_ZIP_SWITCH  not like ", value, "SOURCE_FILE_ZIP_SWITCH", 2);
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andSourceFileZipSwitchIn(List<Integer> values) {
            addCriterion("SOURCE_FILE_ZIP_SWITCH  in ", values, "SOURCE_FILE_ZIP_SWITCH");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andSourceFileZipSwitchNotIn(List<Integer> values) {
            addCriterion("SOURCE_FILE_ZIP_SWITCH not in ", values, "SOURCE_FILE_ZIP_SWITCH");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andSourceFileZipSwitchBetween(Integer value1, Integer value2) {
            addCriterion("SOURCE_FILE_ZIP_SWITCH between ", value1, value2, "SOURCE_FILE_ZIP_SWITCH");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andSourceFileZipSwitchNotBetween(Integer value1, Integer value2) {
            addCriterion("SOURCE_FILE_ZIP_SWITCH not between ", value1, value2, "SOURCE_FILE_ZIP_SWITCH");
            return (FileScanRuleInstanceCriteria) this;
        }
        public FileScanRuleInstanceCriteria andTargetFileZipSwitchIsNull() {
            addCriterion("TARGET_FILE_ZIP_SWITCH is null");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andTargetFileZipSwitchIsNotNull() {
            addCriterion("TARGET_FILE_ZIP_SWITCH is not null");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andTargetFileZipSwitchEqualTo(Integer value) {
            addCriterion("TARGET_FILE_ZIP_SWITCH =", value, "TARGET_FILE_ZIP_SWITCH");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andTargetFileZipSwitchNotEqualTo(Integer value) {
            addCriterion("TARGET_FILE_ZIP_SWITCH <>", value, "TARGET_FILE_ZIP_SWITCH");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andTargetFileZipSwitchGreaterThan(Integer value) {
            addCriterion("TARGET_FILE_ZIP_SWITCH >", value, "TARGET_FILE_ZIP_SWITCH");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andTargetFileZipSwitchGreaterThanOrEqualTo(Integer value) {
            addCriterion("TARGET_FILE_ZIP_SWITCH >=", value, "TARGET_FILE_ZIP_SWITCH");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andTargetFileZipSwitchLessThan(Integer value) {
            addCriterion("TARGET_FILE_ZIP_SWITCH <", value, "TARGET_FILE_ZIP_SWITCH");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andTargetFileZipSwitchLessThanOrEqualTo(Integer value) {
            addCriterion("TARGET_FILE_ZIP_SWITCH <=", value, "TARGET_FILE_ZIP_SWITCH");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andTargetFileZipSwitchLike(Integer value) {
            addCriterion("TARGET_FILE_ZIP_SWITCH like ", value, "TARGET_FILE_ZIP_SWITCH", 1);
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andTargetFileZipSwitchNotLike(Integer value) {
            addCriterion("TARGET_FILE_ZIP_SWITCH  not like ", value, "TARGET_FILE_ZIP_SWITCH", 1);
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andTargetFileZipSwitchLeftLike(Integer value) {
            addCriterion("TARGET_FILE_ZIP_SWITCH like ", value, "TARGET_FILE_ZIP_SWITCH", 0);
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andTargetFileZipSwitchNotLeftLike(Integer value) {
            addCriterion("TARGET_FILE_ZIP_SWITCH  not like ", value, "TARGET_FILE_ZIP_SWITCH", 0);
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andTargetFileZipSwitchRightLike(Integer value) {
            addCriterion("TARGET_FILE_ZIP_SWITCH like ", value, "TARGET_FILE_ZIP_SWITCH", 2);
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andTargetFileZipSwitchNotRightLike(Integer value) {
            addCriterion("TARGET_FILE_ZIP_SWITCH  not like ", value, "TARGET_FILE_ZIP_SWITCH", 2);
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andTargetFileZipSwitchIn(List<Integer> values) {
            addCriterion("TARGET_FILE_ZIP_SWITCH  in ", values, "TARGET_FILE_ZIP_SWITCH");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andTargetFileZipSwitchNotIn(List<Integer> values) {
            addCriterion("TARGET_FILE_ZIP_SWITCH not in ", values, "TARGET_FILE_ZIP_SWITCH");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andTargetFileZipSwitchBetween(Integer value1, Integer value2) {
            addCriterion("TARGET_FILE_ZIP_SWITCH between ", value1, value2, "TARGET_FILE_ZIP_SWITCH");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andTargetFileZipSwitchNotBetween(Integer value1, Integer value2) {
            addCriterion("TARGET_FILE_ZIP_SWITCH not between ", value1, value2, "TARGET_FILE_ZIP_SWITCH");
            return (FileScanRuleInstanceCriteria) this;
        }
        public FileScanRuleInstanceCriteria andRuleDescIsNull() {
            addCriterion("RULE_DESC is null");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andRuleDescIsNotNull() {
            addCriterion("RULE_DESC is not null");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andRuleDescEqualTo(String value) {
            addCriterion("RULE_DESC =", value, "RULE_DESC");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andRuleDescNotEqualTo(String value) {
            addCriterion("RULE_DESC <>", value, "RULE_DESC");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andRuleDescGreaterThan(String value) {
            addCriterion("RULE_DESC >", value, "RULE_DESC");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andRuleDescGreaterThanOrEqualTo(String value) {
            addCriterion("RULE_DESC >=", value, "RULE_DESC");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andRuleDescLessThan(String value) {
            addCriterion("RULE_DESC <", value, "RULE_DESC");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andRuleDescLessThanOrEqualTo(String value) {
            addCriterion("RULE_DESC <=", value, "RULE_DESC");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andRuleDescLike(String value) {
            addCriterion("RULE_DESC like ", value, "RULE_DESC", 1);
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andRuleDescNotLike(String value) {
            addCriterion("RULE_DESC  not like ", value, "RULE_DESC", 1);
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andRuleDescLeftLike(String value) {
            addCriterion("RULE_DESC like ", value, "RULE_DESC", 0);
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andRuleDescNotLeftLike(String value) {
            addCriterion("RULE_DESC  not like ", value, "RULE_DESC", 0);
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andRuleDescRightLike(String value) {
            addCriterion("RULE_DESC like ", value, "RULE_DESC", 2);
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andRuleDescNotRightLike(String value) {
            addCriterion("RULE_DESC  not like ", value, "RULE_DESC", 2);
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andRuleDescIn(List<String> values) {
            addCriterion("RULE_DESC  in ", values, "RULE_DESC");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andRuleDescNotIn(List<String> values) {
            addCriterion("RULE_DESC not in ", values, "RULE_DESC");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andRuleDescBetween(String value1, String value2) {
            addCriterion("RULE_DESC between ", value1, value2, "RULE_DESC");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andRuleDescNotBetween(String value1, String value2) {
            addCriterion("RULE_DESC not between ", value1, value2, "RULE_DESC");
            return (FileScanRuleInstanceCriteria) this;
        }
        public FileScanRuleInstanceCriteria andCreateDateIsNull() {
            addCriterion("CREATE_DATE is null");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andCreateDateIsNotNull() {
            addCriterion("CREATE_DATE is not null");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andCreateDateEqualTo(Date value) {
            addCriterion("CREATE_DATE =", value, "CREATE_DATE");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andCreateDateNotEqualTo(Date value) {
            addCriterion("CREATE_DATE <>", value, "CREATE_DATE");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andCreateDateGreaterThan(Date value) {
            addCriterion("CREATE_DATE >", value, "CREATE_DATE");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andCreateDateGreaterThanOrEqualTo(Date value) {
            addCriterion("CREATE_DATE >=", value, "CREATE_DATE");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andCreateDateLessThan(Date value) {
            addCriterion("CREATE_DATE <", value, "CREATE_DATE");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andCreateDateLessThanOrEqualTo(Date value) {
            addCriterion("CREATE_DATE <=", value, "CREATE_DATE");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andCreateDateLike(Date value) {
            addCriterion("CREATE_DATE like ", value, "CREATE_DATE", 1);
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andCreateDateNotLike(Date value) {
            addCriterion("CREATE_DATE  not like ", value, "CREATE_DATE", 1);
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andCreateDateLeftLike(Date value) {
            addCriterion("CREATE_DATE like ", value, "CREATE_DATE", 0);
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andCreateDateNotLeftLike(Date value) {
            addCriterion("CREATE_DATE  not like ", value, "CREATE_DATE", 0);
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andCreateDateRightLike(Date value) {
            addCriterion("CREATE_DATE like ", value, "CREATE_DATE", 2);
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andCreateDateNotRightLike(Date value) {
            addCriterion("CREATE_DATE  not like ", value, "CREATE_DATE", 2);
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andCreateDateIn(List<Date> values) {
            addCriterion("CREATE_DATE  in ", values, "CREATE_DATE");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andCreateDateNotIn(List<Date> values) {
            addCriterion("CREATE_DATE not in ", values, "CREATE_DATE");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andCreateDateBetween(Date value1, Date value2) {
            addCriterion("CREATE_DATE between ", value1, value2, "CREATE_DATE");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andCreateDateNotBetween(Date value1, Date value2) {
            addCriterion("CREATE_DATE not between ", value1, value2, "CREATE_DATE");
            return (FileScanRuleInstanceCriteria) this;
        }
        public FileScanRuleInstanceCriteria andStateIsNull() {
            addCriterion("STATE is null");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andStateIsNotNull() {
            addCriterion("STATE is not null");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andStateEqualTo(String value) {
            addCriterion("STATE =", value, "STATE");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andStateNotEqualTo(String value) {
            addCriterion("STATE <>", value, "STATE");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andStateGreaterThan(String value) {
            addCriterion("STATE >", value, "STATE");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andStateGreaterThanOrEqualTo(String value) {
            addCriterion("STATE >=", value, "STATE");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andStateLessThan(String value) {
            addCriterion("STATE <", value, "STATE");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andStateLessThanOrEqualTo(String value) {
            addCriterion("STATE <=", value, "STATE");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andStateLike(String value) {
            addCriterion("STATE like ", value, "STATE", 1);
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andStateNotLike(String value) {
            addCriterion("STATE  not like ", value, "STATE", 1);
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andStateLeftLike(String value) {
            addCriterion("STATE like ", value, "STATE", 0);
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andStateNotLeftLike(String value) {
            addCriterion("STATE  not like ", value, "STATE", 0);
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andStateRightLike(String value) {
            addCriterion("STATE like ", value, "STATE", 2);
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andStateNotRightLike(String value) {
            addCriterion("STATE  not like ", value, "STATE", 2);
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andStateIn(List<String> values) {
            addCriterion("STATE  in ", values, "STATE");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andStateNotIn(List<String> values) {
            addCriterion("STATE not in ", values, "STATE");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andStateBetween(String value1, String value2) {
            addCriterion("STATE between ", value1, value2, "STATE");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andStateNotBetween(String value1, String value2) {
            addCriterion("STATE not between ", value1, value2, "STATE");
            return (FileScanRuleInstanceCriteria) this;
        }
        public FileScanRuleInstanceCriteria andStateDateIsNull() {
            addCriterion("STATE_DATE is null");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andStateDateIsNotNull() {
            addCriterion("STATE_DATE is not null");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andStateDateEqualTo(Date value) {
            addCriterion("STATE_DATE =", value, "STATE_DATE");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andStateDateNotEqualTo(Date value) {
            addCriterion("STATE_DATE <>", value, "STATE_DATE");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andStateDateGreaterThan(Date value) {
            addCriterion("STATE_DATE >", value, "STATE_DATE");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andStateDateGreaterThanOrEqualTo(Date value) {
            addCriterion("STATE_DATE >=", value, "STATE_DATE");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andStateDateLessThan(Date value) {
            addCriterion("STATE_DATE <", value, "STATE_DATE");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andStateDateLessThanOrEqualTo(Date value) {
            addCriterion("STATE_DATE <=", value, "STATE_DATE");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andStateDateLike(Date value) {
            addCriterion("STATE_DATE like ", value, "STATE_DATE", 1);
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andStateDateNotLike(Date value) {
            addCriterion("STATE_DATE  not like ", value, "STATE_DATE", 1);
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andStateDateLeftLike(Date value) {
            addCriterion("STATE_DATE like ", value, "STATE_DATE", 0);
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andStateDateNotLeftLike(Date value) {
            addCriterion("STATE_DATE  not like ", value, "STATE_DATE", 0);
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andStateDateRightLike(Date value) {
            addCriterion("STATE_DATE like ", value, "STATE_DATE", 2);
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andStateDateNotRightLike(Date value) {
            addCriterion("STATE_DATE  not like ", value, "STATE_DATE", 2);
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andStateDateIn(List<Date> values) {
            addCriterion("STATE_DATE  in ", values, "STATE_DATE");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andStateDateNotIn(List<Date> values) {
            addCriterion("STATE_DATE not in ", values, "STATE_DATE");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andStateDateBetween(Date value1, Date value2) {
            addCriterion("STATE_DATE between ", value1, value2, "STATE_DATE");
            return (FileScanRuleInstanceCriteria) this;
        }

        public FileScanRuleInstanceCriteria andStateDateNotBetween(Date value1, Date value2) {
            addCriterion("STATE_DATE not between ", value1, value2, "STATE_DATE");
            return (FileScanRuleInstanceCriteria) this;
        }

    }

    public static class FileScanRuleInstanceCriteria extends GeneratedCriteria {

        protected FileScanRuleInstanceCriteria() {
            super();
        }
    }

    public static class FileScanRuleInstanceCriterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected FileScanRuleInstanceCriterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }
        protected FileScanRuleInstanceCriterion(String condition, Object value, int likeType) {
            this.condition = condition;
            if (likeType == 0) {
                this.value = "%" + value;
            }
            else if (likeType == 1) {
                this.value = "%" + value + "%";
            }
            else {
                this.value = value + "%";
            }
            this.typeHandler = null;
            this.singleValue = true;

        }

        protected FileScanRuleInstanceCriterion(String condition, Object value,
                String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            }
            else {
                this.singleValue = true;
            }
        }

        protected FileScanRuleInstanceCriterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected FileScanRuleInstanceCriterion(String condition, Object value,
                Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected FileScanRuleInstanceCriterion(String condition, Object value,
                Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}